arm64: a37xx: add CONFIG_MTD_DEVICE and CONFIG_MTD_PARTITIONS
authorVladimir Vid <[email protected]>
Fri, 13 Jul 2018 09:56:00 +0000 (11:56 +0200)
committerStefan Roese <[email protected]>
Tue, 7 Aug 2018 08:53:52 +0000 (10:53 +0200)
CONFIG_MTD_DEVICE is required for the mtdparts command and but it is missing from the mvebu_armada-37xx.h
CONFIG_MTD_PARTITIONS is needed for the ubi support. Some of the Marvell based devices may require this as well.

Signed-off-by: Vladimir Vid <[email protected]>
Signed-off-by: Luka Perkov <[email protected]>
Signed-off-by: Stefan Roese <[email protected]>
include/configs/mvebu_armada-37xx.h

index d1331096f26617d5d405f522cb91577c78096dc9..5015bc74bb571da2a2fe45ebe79816f4a788eb86 100644 (file)
@@ -66,6 +66,8 @@
 #define CONFIG_SF_DEFAULT_SPEED                1000000
 #define CONFIG_SF_DEFAULT_MODE         SPI_MODE_0
 #define CONFIG_ENV_SPI_MODE            CONFIG_SF_DEFAULT_MODE
+#define CONFIG_MTD_DEVICE              /* needed for mtdparts commands */
+#define CONFIG_MTD_PARTITIONS          /* required for UBI partition support */
 
 /* Environment in SPI NOR flash */
 #define CONFIG_ENV_OFFSET              0x180000 /* as Marvell U-Boot version */